let filters = {
    formatDate:time =>{
        return time?
        (time * 1000/(1000*60*60*24*365)==new Date().getFullYear())?
        new Date(time * 1000).format('yyyy-MM-dd hh:mm'):
        new Date(time * 1000).format('MM-dd hh:mm'):'未知时间'
    }
}
export default filters